home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 39 / Issue 39.iso / pc / PCSoftware / ColdFusion Studio 4.5.1 Trial / ColdFusionStudio_Eval.exe / data1.cab / Wizards / CFML / Mailing List.vtm < prev    next >
Encoding:
Text File  |  2000-04-03  |  3.2 KB  |  84 lines

  1. <WIZARD name="MailingListWizard" caption="Mailing List Wizard" image="..\\images\\wizardoutput.bmp">
  2.  
  3. <!--- wizard parameters --->
  4. <PARAM name="ApplicationName" value="" required="yes">
  5. <PARAM name="DataSource" value="" required="yes">
  6. <PARAM name="Table" value="" required="yes">
  7. <PARAM name="EmailField" value="" required="yes">
  8.  
  9.  
  10. <TEMPLATE
  11.   name="MailingList_MailingForm.wml"
  12.   outputFile="$${SafeApplicationName}_MailingForm.cfm"
  13.   outputPath="$${Location}"
  14.   description="Mailing template contains the mailing form. This form allows user to enter the e-mail message and select recipients"
  15. >
  16. <TEMPLATE
  17.   name="MailingList_MailingAction.wml"
  18.   outputFile="$${SafeApplicationName}_MailingAction.cfm"
  19.   outputPath="$${Location}"
  20.   description="The mailing action template sends e-mail to selected recipients. It also informs user that the messages has been successfully sent."
  21. >
  22.  
  23.  
  24.  
  25. <!------------------- Maling list application ------------------->
  26. <PAGE name="Page1" caption="Mailing List Application" image="..\\images\\Main.bmp">
  27.  
  28.     <INPUT name="editApplicationName" param="ApplicationName" required="yes"
  29.         validationMsg="You cannot leave the Application Name field blank">
  30.  
  31.     <INPUT name="editLocation" param="Location"    required="yes"
  32.         validationMsg="You cannot leave the Location field blank">
  33.  
  34. </PAGE>
  35.  
  36.  
  37.  
  38. <!------------------ Select data source --------------------->
  39. <PAGE name="Page2" caption="Data Source" image="..\\images\\SelectData.bmp">
  40.  
  41.     <PARAM name="ListBoxLabel" value="Select data source:">
  42.     <PARAM name="ListBoxDescription"
  43.         value="Choose the data source, which contains the table with e-mail addresses.\n\nIf your database is not registered as ODBC data source, open the ODBC administrator in Control Panel and add system data source for this database.">
  44.     <PARAM name="RemoveParams" value="Table,EmailField">
  45.     
  46.     <INPUT name="cbDataSources" param="DataSource" required="yes"
  47.         validationMsg="You did not select the data source. Please select one before proceeding.">
  48.  
  49. </PAGE>
  50.  
  51.  
  52.  
  53. <!------------------ Select table ---------------------->
  54. <PAGE name="Page3a" caption="Table" image="..\\images\\SelectTable.bmp">
  55.  
  56.     <PARAM name="DataSource" value="$${DataSource}">
  57.     <PARAM name="ListBoxLabel" value="Select database table:">
  58.     <PARAM name="ListBoxDescription"
  59.         value="Choose the table containing the e-mail addresses for the mailing list.">
  60.     <PARAM name="RemoveParams" value="EmailField">
  61.  
  62.     <INPUT name="cbTables" param="Table" required="yes"
  63.         validationMsg="You did not select the table. Please select one before proceeding.">
  64.  
  65. </PAGE>
  66.  
  67.  
  68.  
  69. <!--------------------- Select e-mail field ----------->
  70. <PAGE name="Page4a" caption="E-mail Field" image="..\\images\\MailFields.bmp">
  71.  
  72.     <PARAM name="DataSource" value="$${DataSource}">
  73.     <PARAM name="Tables" value="$${Table}">
  74.     <PARAM name="ListBoxLabel" value="Select the e-mail field:">
  75.     <PARAM name="ListBoxDescription"
  76.         value="Choose the field containing the e-mail addresses that should be used to populate the mailing list.">
  77.  
  78.     <INPUT name="cbFields" param="EmailField" required="yes"
  79.         validationMsg="You did not select the e-mail field. Please select one before proceeding.">
  80.  
  81. </PAGE>
  82.  
  83. </WIZARD>
  84.